package com.yunhai.model.entity.dms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunhai.model.base.BaseEntity;
import lombok.Data;



import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 设备类型实体
 * 
 * @author mengze
 * @date 2025-06-28 16:47:40
 */
@ApiModel("设备类型实体")
@Data
@Accessors(chain = true)
@TableName("dms_device_category")
public class DmsDeviceCategoryEntity extends BaseEntity {

	@ApiModelProperty(value = "主键id", example = "10001")
	@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	/**
	 * 类型编码
	 */
	@ApiModelProperty("类型编码")
	private String number;
	/**
	 * 类型名称
	 */
	@ApiModelProperty("类型名称")
	private String name;

	@ApiModelProperty("产品图片")
	private String url;

	@ApiModelProperty("产品品牌")
	private String brandName;

	@ApiModelProperty("产品型号")
	private String model;

	@ApiModelProperty("产品尺寸")
	private String size;

	@ApiModelProperty("容量")
	private String capacity;

	@ApiModelProperty("重量")
	private String weight;

	@ApiModelProperty("重量")
	private String func;

	@ApiModelProperty("SPU分类")
	private Long categoryId;

	@ApiModelProperty("SPU分类名称")
	@TableField( exist = false )
	private String categoryName;

	/*
	 * 类型描述
	 */
	@ApiModelProperty("类型描述")
	private String mark;

}
